package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterServicestoreCreateRequest struct {
	/*
	   网点/门店     */
	ServiceStore *domain.TmallServicecenterServicestoreCreateServiceStoreDTO `json:"service_store,omitempty" required:"false" `
}

func (s *TmallServicecenterServicestoreCreateRequest) SetServiceStore(v domain.TmallServicecenterServicestoreCreateServiceStoreDTO) *TmallServicecenterServicestoreCreateRequest {
	s.ServiceStore = &v
	return s
}

func (req *TmallServicecenterServicestoreCreateRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ServiceStore != nil {
		paramMap["service_store"] = util.ConvertStruct(*req.ServiceStore)
	}
	return paramMap
}

func (req *TmallServicecenterServicestoreCreateRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
